<?php

echo '<h1>Login form</h1>';

echo (string) $form;

//$form = $this->form;
//$form->setAttribute('action', $this->url('login'));
//echo $this->form()->openTag($form);
//
//$security = $form->get('security');
//echo $this->formElement($security);
//unset($security);
//
//$username = $form->get('username');
//echo '<div class="ui-line ui-username">';
//echo $this->formLabel($username);
//echo $this->formElement($username);
//echo '</div>';
//unset($username);
//
//$password = $form->get('password');
//echo '<div class="ui-line ui-password">';
//echo $this->formLabel($password);
//echo $this->formElement($password);
//echo '</div>';
//unset($password);
//
//$submit = $form->get('submit');
//echo '<div class="ui-line ui-submit">';
//echo $this->formButton()->openTag($submit);
//echo '<span class="ui-inner">' . $submit->getLabel() . '</span>';
//echo $this->formButton()->closeTag();
//echo '</div>';
//unset($submit);
//
//echo $this->form()->closeTag();
